package com.bjpowernode.api.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author 麦翔盛
 * @ClassName: PlatformInfo
 * @Package: com.bjpowernode.api.dto
 * @description: 首页展示统计数据 数据传输dto
 * @date 2022/5/14 20:12
 */
public class PlatformInfo implements Serializable {
    /**
     * 注册用户
     */
    private Integer registerUsers;

    /**
     * 平均收益率
     */
    private BigDecimal averageRate;

    /**
     * 总投资金额
     */
    private BigDecimal investAllMoney;

    public PlatformInfo() {
    }

    public PlatformInfo(Integer registerUsers, BigDecimal averageRate, BigDecimal investAllMoney) {
        this.registerUsers = registerUsers;
        this.averageRate = averageRate;
        this.investAllMoney = investAllMoney;
    }

    public Integer getRegisterUsers() {
        return registerUsers;
    }

    public void setRegisterUsers(Integer registerUsers) {
        this.registerUsers = registerUsers;
    }

    public BigDecimal getAverageRate() {
        return averageRate;
    }

    public void setAverageRate(BigDecimal averageRate) {
        this.averageRate = averageRate;
    }

    public BigDecimal getInvestAllMoney() {
        return investAllMoney;
    }

    public void setInvestAllMoney(BigDecimal investAllMoney) {
        this.investAllMoney = investAllMoney;
    }

    @Override
    public String toString() {
        return "PlatformInfo{" +
                "registerUsers=" + registerUsers +
                ", averageRate=" + averageRate +
                ", investAllMoney=" + investAllMoney +
                '}';
    }
}
